<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $language->language ?>" xml:lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php global $base_url;?>
<title><?php print $head_title ?></title>
<?php print $head ?>
<?php print $styles ?>
<link rel="stylesheet" href="<?php print base_path().drupal_get_path('theme', 'bluemasters').'/nivo-slider.css'?>" type="text/css" media="all" />
<link rel="stylesheet" href="<?php print base_path().drupal_get_path('theme', 'bluemasters').'/default/default.css'?>" type="text/css" media="all" />
<?php print $scripts; ?>
<script src="<?php print base_path().drupal_get_path('theme', 'bluemasters').'/js/jquery.js'?>" type="text/javascript"></script>
<script src="<?php print base_path().drupal_get_path('theme', 'bluemasters').'/js/jquery.nivo.slider.js'?>" type="text/javascript"></script>
<script src="<?php print base_path().drupal_get_path('theme', 'bluemasters').'/js/ui.core-1.5.3.js'?>" type="text/javascript"></script>
<script src="<?php print base_path().drupal_get_path('theme', 'bluemasters').'/js/jquery.vticker.js'?>" type="text/javascript"></script>
</head>
<body>
<div id="page">

<div id="header-top"><!--header-top-->
    <div id="header-top-inside" class="clearfix">    
    </div>
</div><!--/header-top-->
<div id="logo"> 
	<?php
	// Prepare header
	$site_fields = array();
	if ($site_name) {
		$site_fields[] = check_plain($site_name);
	}
	if ($site_slogan) {
		$site_fields[] = check_plain($site_slogan);
	}
	$site_title = implode(' ', $site_fields);
	if ($site_fields) {
		$site_fields[0] = '<span>'. $site_fields[0] .'</span>';
	}
	$site_html = implode(' ', $site_fields);
	        
	if ($logo || $site_title) {
		print '<a href="'. check_url($front_page) .'" title="'. $site_title .'">';
		/*if ($logo) {
			print '<img src="'.base_path().drupal_get_path('theme', 'bluemasters')."/logo.gif".'" alt="'. $site_title .'" id="logo-image" />';
		}*/
		print "<h3>MMEA Measurement, Monitoring and Environmental Assessment, China Testbed</h3>";
		print '<div style="display:none">'.$site_html .'</div></a>';
	}
	?>
</div> <!--logo-->
<div id="navigation"></div><!--navigation-->

<div id="wrapper">
	<ul id="languages">
    	<li><a href="<?php
$url = (!empty($_SERVER['HTTPS'])) ? "https://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'] : "http://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI']; 
if(!stristr($url,'/en') && !stristr($url,'/zh-hans'))
	$url =$url.'en';
	$url =str_ireplace("/zh-hans","/en",$url);
print $url;
?>">in English</a></li>
        <li><a href="<?php
$url = (!empty($_SERVER['HTTPS'])) ? "https://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'] : "http://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI']; 
if(!stristr($url,'/en') && !stristr($url,'/zh-hans'))
	$url =$url.'zh-hans';
$url =str_ireplace("/en","/zh-hans",$url);
print $url;
?>">中文</a></li>
    </ul>
    
<!--header-->

<div id="banner" class="clearfix">
		<?php //print $banner;?>
		<div class="main_view">
	
			<!--start advertise section-->
            <div class="slider-wrapper theme-default">
                <div class="ribbon"></div>
                    <div id="slider" class="nivoSlider">
                        <img src="<?php print base_path().drupal_get_path('theme', 'bluemasters').'/images/slide-image-1.jpg'?>" alt="" title="<?php echo t("MMEA China Testbed is developed as a Living Lab framework together with Chinese and Finnish Universities and Industry."); ?>" />
                        <img src="<?php print base_path().drupal_get_path('theme', 'bluemasters').'/images/slide-image-2.jpg'?>" alt="" title="<?php echo t("It will be basis for developing new environmental technology and business opportunities together."); ?>" />
                        <img src="<?php print base_path().drupal_get_path('theme', 'bluemasters').'/images/slide-image-3.jpg'?>" alt="" title="<?php echo t("Over time the Testbed is meant to form an environmental monitoring \"ecosystem\" where both Finnish and Chinese University Students and Scientists can work together and create and experiment with new solutions."); ?>" />
                        <img src="<?php print base_path().drupal_get_path('theme', 'bluemasters').'/images/slide-image-4.jpg'?>" alt="" title="<?php echo t("The Finnish-Chinese Testbed -pilot project will first develop a simple concept for new mobile environmental service for consumers."); ?>" />
                        <img src="<?php print base_path().drupal_get_path('theme', 'bluemasters').'/images/slide-image-5.jpg'?>" alt="" title="<?php echo t("We aim with this new type of service to assist the special groups, living in an urban area and also average consumers that are concerned about their environment."); ?>" />
                    </div>
			</div>
      		<!--end advertise-->
		</div>
</div><!--banner-->